package cn.ac.siom.query.dao;

import cn.ac.siom.query.vo.kjjggs_news;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;


public interface Ikjjggs_newsDAO extends IDAO<Integer,kjjggs_news> {
    /**
     * 激光通讯首页-科学普及信息
     * @param params
     * @return
     * @throws Exception
     */
    List<kjjggs_news> findByParams(Map params) throws Exception;
    List<kjjggs_news> findNo(Integer id) throws SQLException;
    List<kjjggs_news> findPage(Integer rownum, Integer page_id) throws SQLException;
    Integer findCount(Map map) throws SQLException;
    String findPhoto(Integer id) throws SQLException;
    boolean insert(kjjggs_news vo ) throws SQLException;
    boolean update(kjjggs_news vo) throws SQLException;
    boolean delete(List<String> ids) throws SQLException;
}
